from selenium import webdriver
from selenium.webdriver.chrome.service import Service as ChromeService
from selenium.webdriver.firefox.service import Service as FirefoxService
from webdriver_manager.chrome import ChromeDriverManager
from webdriver_manager.firefox import GeckoDriverManager
from selenium.webdriver import Chrome


class BasePage():
    def __init__(self):
        self.driver =  webdriver.Firefox(service=FirefoxService(GeckoDriverManager().install()))


    def get_url(self,url):
        # ***登录调整 ***
        self.driver.get(url)

